<div nzSpan="24">
    <form nz-form>
        <nz-form-item>
            <nz-form-label [nzSpan]="4">id</nz-form-label>
            <nz-form-control [nzSpan]="8">
                <input type="text" nz-input [(ngModel)]="emp.empId" name="empId" [disabled]="true" />
            </nz-form-control>
            <nz-form-label [nzSpan]="4">
                员工名称
            </nz-form-label>
            <nz-form-control [nzSpan]="8" nzHasFeedback nzErrorTip="员工名称不能为空">
                <input type="text" nz-input placeholder="员工名称" [(ngModel)]="emp.empName" name="empName"
                    [disabled]="!emp.isEditable" required />
            </nz-form-control>
        </nz-form-item>

        <nz-form-item>
            <nz-form-label [nzSpan]="4">
                邮件地址
            </nz-form-label>
            <nz-form-control [nzSpan]="8">
                <input type="email" nz-input placeholder="email" [(ngModel)]="emp.email" name="email"
                    [disabled]="!emp.isEditable" />
            </nz-form-control>
            <nz-form-label [nzSpan]="4">
                性别
            </nz-form-label>
            <nz-form-control [nzSpan]="8">
                <nz-radio-group [(ngModel)]="emp.gender" name="gender">
                    <label nz-radio [nzValue]="o.value" *ngFor="let o of options">{{ o.label }}</label>
                </nz-radio-group>
            </nz-form-control>
        </nz-form-item>
    </form>
</div>